using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;  
using System.Data.Linq.Mapping;
using System.ComponentModel;
using System.Data.Linq;
namespace MRSite.Entity  
{
    //点赞记录
     [Table(Name = "News_loves")]
    public class NewsLoves : Entity
	{ 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; } 

		/// <summary>
		/// 新闻ID
		/// </summary>
        [Column(Name = "news_id")]
        public int news_id { get; set; } 

		 

		/// <summary>
		///用户ID
		/// </summary>
		[Column(Name = "user_id")]
		public int user_id{ get; set; } 

		/// <summary>
		///用户名
		/// </summary>
		[Column(Name = "user_name")]
		public String user_name{ get; set; } 

		/// <summary>
		///阅读时间
		/// </summary>
		[Column(Name = "add_time")]
		public DateTime add_time{ get; set; } 

	 
		/// <summary>
		/// 奖励金额
		/// </summary>
        [Column(Name = "val")]
        public Decimal val { get; set; } 

		/// <summary>
		/// 
		/// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; } 
 
	 } 
}    


